package com.example.demo;

import com.v5ba.api.Animal;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

@Configurable
public class CustomConfiguration {
    @Bean
    public Animal animal(){
        return new Pig();
    }

}
